<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class UpdateColumnToPagestylesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('page_icons', function (Blueprint $table) {
            $table->string('cover', 191)->nullable()->comment('遮罩')->change();
            $table->string('highlight', 191)->nullable()->comment('高亮ICON')->change();
            $table->string('selected', 191)->nullable()->comment('选中效果')->change();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
